#pragma once
#include <memory>
#include <deque>

class base_thread;
class thread_pool
{
public:
    
    static thread_pool& instance();
    void init();
    void push_task();

private:
    thread_pool() = default;
    std::deque<std::shared_ptr<base_thread>> threads_;
};

